package com.unlcn.ils.kas.service.order;

import com.baomidou.mybatisplus.plugins.Page;
import com.unlcn.ils.kas.dao.model.order.OrderOtd;
import com.unlcn.ils.kas.dao.model.order.OrderOtdLog;
import com.unlcn.ils.kas.dao.model.order.OrderOtdLogDetail;
import com.unlcn.ils.kas.dao.model.order.bo.OrderLineBo;

import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2018/4/12.
 */
public interface OrderExceptionService {

    /**
     * 拉取订单
     * @param sysOrderNos
     * @return
     */
    List<Map<String, String>> pullOrder(String[] sysOrderNos);

    /**
     * 保存订单
     * @param orderOtdLog
     * @param orderOtdLogDetailList
     */
    void saveOrderInfo(OrderOtdLog orderOtdLog, List<OrderOtdLogDetail> orderOtdLogDetailList);

    /**
     * 异常订单列表
     * @param page
     * @return
     */
    Page<OrderLineBo> exceptionLine(Page<OrderOtd> page);
}
